<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>applyIndex</title>
    <link rel="stylesheet" href="assets/css/public.css">
    <link rel="stylesheet" href="assets/css/apply.css">
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
</head>

<body>
    <div class="wrap">
        <div class="IndexBox">
            <p class="titles">类型选择</p>
            <div class="line"></div>
            <div class="main-1">
                <div class="main-1-wrap">
                    <div class="main-1-left main-1-text">固定资产</div>
                    <div class="main-1-right">
                        <p class="main-1-text">机械设备</p>
                        <p class="main-1-text">电子设备</p>
                    </div>
                </div>
                <div class="main-1-wrap">
                    <div class="main-1-left main-1-text">低值易耗</div>
                    <div class="main-1-right">
                        <p class="main-1-text">医疗用品</p>
                        <p class="main-1-text">电脑耗材</p>
                    </div>
                </div>
                <div class="main-1-wrap">
                    <div class="main-1-left main-1-text">卫生材料</div>
                    <div class="main-1-right">
                        <p class="main-1-text">化验材料</p>
                        <p class="main-1-text">放射材料</p>
                        <p class="main-1-text"><span style="color:rgb(42, 164, 168)">植入材料</span></p>
                        <p class="main-1-text">介入材料</p>
                    </div>
                </div>
                <div class="main-1-wrap">
                    <div class="main-1-left main-1-text">消毒材料</div>
                    <div class="main-1-right">
                        <p class="main-1-text">消毒材料</p>
                    </div>
                </div>
                <div class="main-1-wrap">
                    <div class="main-1-left main-1-text">无形资产</div>
                    <div class="main-1-right">
                        <p class="main-1-text">无形资产</p>
                    </div>
                </div>
            </div>
        </div>
        <!-- <div class="IndexBox">
            <p class="titles">商品明细</p>
            <div class="line"></div>
            <div class="main-2">
                <div class="main2-head">
                    <div class="row row-head">
                        <div class="col-md-1">行号</div>
                        <div class="col-md-1">商品图片</div>
                        <div class="col-md-4 text-left">商品信息</div>
                        <div class="col-md-1">包装单位</div>
                        <div class="col-md-1">通俗名称</div>
                        <div class="col-md-1">单价（元）</div>
                        <div class="col-md-1">库存</div>
                        <div class="col-md-2">操作</div>
                    </div>
                </div>
                <div class="main2-detail">
                    <div class="row row-wrap">
                        <div class="col-md-1 detailBox detailtext">01</div>
                        <div class="col-md-1 detailBox detailtext">
                            <div class="detail-img">
                                <img src="assets/images/detail1.png" alt="">
                            </div>
                        </div>
                        <div class="col-md-4 detailBox text-left">
                            <p>0100002</p>
                            <p>光电12导心电图用记录纸有格 长效热敏纸210*140-20M</p>
                            <p>210*140</p>
                        </div>
                        <div class="col-md-1 detailBox detailtext">卷</div>
                        <div class="col-md-1 detailBox detailtext">心电图纸</div>
                        <div class="col-md-1 detailBox detailtext">15</div>
                        <div class="col-md-1 detailBox detailtext">150</div>
                        <div class="col-md-2 detailBox  flex-center">
                            <div>
                                <div class="addcar">
                                    <input class="num-jian" type="button" value="-">
                                    <input class="numinput" type="text" value="1">
                                    <input class="num-add" type="button" value="+">
                                </div>
                                <input type="button" value="加入申领车" class="addcar-button">
                            </div>
                        </div>
                    </div>
                    <div class="row-wrap row">
                        <div class="col-md-1 detailBox detailtext">02</div>
                        <div class="col-md-1 detailBox detailtext">
                            <div class="detail-img">
                                <img src="assets/images/detail2.png" alt="">
                            </div>
                        </div>
                        <div class="col-md-4 detailBox text-left">
                            <p>0100003</p>
                            <p>急救夹板 高分子卷式夹板 医用骨折固定板 支骨板</p>
                            <p>210*140</p>
                        </div>
                        <div class="col-md-1 detailBox detailtext">片</div>
                        <div class="col-md-1 detailBox detailtext">高分子夹板</div>
                        <div class="col-md-1 detailBox detailtext">30</div>
                        <div class="col-md-1 detailBox detailtext">600</div>
                        <div class="col-md-2 detailBox  flex-center">
                            <div>
                                <div class="addcar">
                                    <input class="num-jian" type="button" value="-">
                                    <input class="numinput" type="text" value="1">
                                    <input class="num-add" type="button" value="+">
                                </div>
                                <input type="button" value="加入申领车" class="addcar-button">
                            </div>
                        </div>
                    </div>
                    <div class="row row-wrap">
                        <div class="col-md-1 detailBox detailtext">03</div>
                        <div class="col-md-1 detailBox detailtext">
                            <div class="detail-img">
                                <img src="assets/images/detail3.jpg" alt="">
                            </div>
                        </div>
                        <div class="col-md-4 detailBox text-left">
                            <p>0100004</p>
                            <p>支原体鉴定药敏试剂盒微生物检验法</p>
                            <p>210*140</p>
                        </div>
                        <div class="col-md-1 detailBox detailtext">盒</div>
                        <div class="col-md-1 detailBox detailtext">检验试剂</div>
                        <div class="col-md-1 detailBox detailtext">20</div>
                        <div class="col-md-1 detailBox detailtext">400</div>
                        <div class="col-md-2 detailBox  flex-center">
                            <div>
                                <div class="addcar">
                                    <input class="num-jian" type="button" value="-">
                                    <input class="numinput" type="text" value="1">
                                    <input class="num-add" type="button" value="+">
                                </div>
                                <input type="button" value="加入申领车" class="addcar-button">
                            </div>
                        </div>
                    </div>

                </div>

            </div>
        </div> -->


        <div class="IndexBox">
            <p class="titles">申领单明细</p>
            <div class="line"></div>
            <div class="main2-head">
                <table class="table" style="">
                    <thead>
                        <tr>
                            <th>
                                <p>行号</p>
                            </th>
                            <th>
                                <p>商品图片</p>
                            </th>
                            <th>
                                <p class="text-left">商品信息</p>
                            </th>
                            <th>
                                <p>包装单位</p>
                            </th>
                            <th>
                                <p>通俗名称</p>
                            </th>
                            <th>
                                <p>单价（元）</p>
                            </th>
                            <th>
                                <p>库存</p>
                            </th>
                            <th>
                                <p>操作</p>
                            </th>
                        </tr>
                    </thead>
                    <tbody class="table-text">
                        <tr class="detailBox detailBox1">
                            <td class="main2-line-height">01</td>
                            <td>
                                <div class="myorder-img">
                                    <img src="assets/images/detail1.png" alt="">
                                </div>
                            </td>
                            <td>
                                <div style="height:100px">
                                    <p class="text-left">0100002</p>
                                    <p class="text-left">光电12导心电图用记录纸有格 长效热敏纸210*140-20M</p>
                                    <p class="text-left">210*140</p>
                                </div>
                            </td>
                            <td class="main2-line-height">卷</td>
                            <td class="main2-line-height">心电图纸</td>
                            <td class="main2-line-height">15</td>
                            <td class="main2-line-height">150</td>
                            <td>
                                <div class="detailBox  flex-center">
                                    <div>
                                        <div class="addcar">
                                            <input class="num-jian" type="button" value="-">
                                            <input class="numinput" type="text" value="1">
                                            <input class="num-add" type="button" value="+">
                                        </div>
                                        <input type="button" value="加入申领车" class="addcar-button">
                                    </div>
                                </div>
                            </td>
                        </tr>
                        <tr class="detailBox detailBox1">
                            <td class="main2-line-height">02</td>
                            <td>
                                <div class="myorder-img">
                                    <img src="assets/images/detail2.png" alt="">
                                </div>
                            </td>
                            <td>
                                <div style="height:100px">
                                    <p class="text-left">0100003</p>
                                    <p class="text-left">急救夹板 高分子卷式夹板 医用骨折固定板 支骨板</p>
                                    <p class="text-left">210*140</p>
                                </div>
                            </td>
                            <td class="main2-line-height">片</td>
                            <td class="main2-line-height">高分子夹板</td>
                            <td class="main2-line-height">30</td>
                            <td class="main2-line-height">600</td>
                            <td>
                                <div class="detailBox  flex-center">
                                    <div>
                                        <div class="addcar">
                                            <input class="num-jian" type="button" value="-">
                                            <input class="numinput" type="text" value="1">
                                            <input class="num-add" type="button" value="+">
                                        </div>
                                        <input type="button" value="加入申领车" class="addcar-button">
                                    </div>
                                </div>
                            </td>
                        </tr>
                        <tr class="detailBox detailBox1">
                            <td class="main2-line-height">03</td>
                            <td>
                                <div class="myorder-img">
                                    <img src="assets/images/detail3.jpg" alt="">
                                </div>
                            </td>
                            <td>
                                <div style="height:100px">
                                    <p class="text-left">0100004</p>
                                    <p class="text-left"> 支原体鉴定药敏试剂盒微生物检验法</p>
                                    <p class="text-left">210*140</p>
                                </div>
                            </td>
                            <td class="main2-line-height">盒</td>
                            <td class="main2-line-height">检验试剂</td>
                            <td class="main2-line-height">20</td>
                            <td class="main2-line-height">400</td>
                            <td>
                                <div class="detailBox  flex-center">
                                    <div>
                                        <div class="addcar">
                                            <input class="num-jian" type="button" value="-">
                                            <input class="numinput" type="text" value="1">
                                            <input class="num-add" type="button" value="+">
                                        </div>
                                        <input type="button" value="加入申领车" class="addcar-button">
                                    </div>
                                </div>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>

    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script>
        $(function () {
            $(".num-jian").click(function () {
                var t = $(this).parent().find('input[class*=numinput]');
                t.val(parseInt(t.val()) - 1);
                if (parseInt(t.val()) < 0) {
                    t.val(0);
                }

            });

            $(".num-add").click(function () {
                var t = $(this).parent().find("input[class*=numinput]");
                t.val(parseInt(t.val()) + 1);
            });
        })
    </script>
</body>

</html>